package com.aaa.service.impl.comboboxserviceimpl;

import com.aaa.common.domain.comboboxquery.AssetType;
import com.aaa.mapper.comboboxmapper.AssetTypeMapper;
import com.aaa.service.comboboxservice.AssetTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/02/25/17:26
 * @Description:
 */
@Service
public class AssetTypeServiceImpl  extends ServiceImpl<AssetTypeMapper , AssetType> implements AssetTypeService {

    @Autowired
    private AssetTypeMapper assetTypeMapper;

    @Override
    public List<AssetType> listAssetTypes() {
        List<AssetType> assetTypes = assetTypeMapper.selectList(null);
        return assetTypes;
    }
}
